package com.sjsu.aws.simplockswithoutherdeffect;

/**
 * 
 * @author Shweta Dattatreya
 * 
 */
public class LockListenerImpl implements LockListener {

	public String id;

	/**
	 * 
	 * @param n
	 */
	public LockListenerImpl(String n) {
		id = n;
	}

	public void lockAcquired() {
		System.out.println(id + " : Acquired Lock");
	}

	public void lockReleased() {
		System.out.println(id + " : Released Lock");
	}

	public void lockRenewed() {
		System.out.println(id + " : Renewed Lock");
	}
}
